package ystp.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import ystp.model.Yuecaikangjunyaowujieguo;
import ystp.model.YuecaikangjunyaowujieguoExample;

public interface YuecaikangjunyaowujieguoMapper {
    int countByExample(YuecaikangjunyaowujieguoExample example);

    int deleteByExample(YuecaikangjunyaowujieguoExample example);

    int deleteByPrimaryKey(String id);

    int insert(Yuecaikangjunyaowujieguo record);

    int insertSelective(Yuecaikangjunyaowujieguo record);

    List<Yuecaikangjunyaowujieguo> selectByExample(YuecaikangjunyaowujieguoExample example);

    Yuecaikangjunyaowujieguo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Yuecaikangjunyaowujieguo record, @Param("example") YuecaikangjunyaowujieguoExample example);

    int updateByExample(@Param("record") Yuecaikangjunyaowujieguo record, @Param("example") YuecaikangjunyaowujieguoExample example);

    int updateByPrimaryKeySelective(Yuecaikangjunyaowujieguo record);

    int updateByPrimaryKey(Yuecaikangjunyaowujieguo record);

    Object getYuecaikangjunResultCount(@Param("xiangmuid") String mmxiangmuId,@Param("userid") String mmuserId,@Param("result") String mmresult);

    List<Map<String,Object>>getHuizongbiao(@Param("xiangmuid") String mmxiangmuId);
}